package com.agent.model;

import java.util.Date;

public class Agent implements java.io.Serializable {
	private Integer agentid;
	private String agentname;
	private Integer createBy;
	private String account;
	private String password;
	private Integer level;//(0,1,2)
	private String aegntCode;
	private Date createTime;
	public Integer getAgentid() {
		return agentid;
	}
	public void setAgentid(Integer agentid) {
		this.agentid = agentid;
	}
	public String getAgentname() {
		return agentname;
	}
	public void setAgentname(String agentname) {
		this.agentname = agentname;
	}
	public Integer getCreateBy() {
		return createBy;
	}
	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public String getAegntCode() {
		return aegntCode;
	}
	public void setAegntCode(String aegntCode) {
		this.aegntCode = aegntCode;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Agent(Integer agentid, String agentname, Integer createBy, String account, String password, Integer level,
			String aegntCode, Date createTime) {
		super();
		this.agentid = agentid;
		this.agentname = agentname;
		this.createBy = createBy;
		this.account = account;
		this.password = password;
		this.level = level;
		this.aegntCode = aegntCode;
		this.createTime = createTime;
	}
	public Agent() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
